﻿using KinTN_WMS_CL.Model;
using System.ComponentModel.DataAnnotations;

namespace KinTN_WMS_CL.Model
{
    /// <summary>
    /// log输出
    /// </summary>
    public class RequestLogModel : ModelBase
    {
        /// <summary>
        /// 调了哪个接口
        /// </summary>
        [Display(Name ="调用接口")]
        public string ApiName { get; set; }
        /// <summary>
        /// 请求来源
        /// </summary>
        [Display(Name = "请求来源")]
        public string? IP { get; set; }
        /// <summary>
        /// 请求头
        /// </summary>
        [Display(Name = "请求头")]
        public string? Headers { get; set; }
        /// <summary>
        /// 请求参数
        /// </summary>
        [Display(Name = "请求参数")]
        public string? QueryString { get; set; }
        /// <summary>
        /// StatusCode
        /// </summary>
        [Display(Name = "状态")]
        public int? StatusCode { get; set; }
    }
}
